---
title: Remove a Data Source
sidebarTitle: Remove a Data Source
---

## Description

The `drop_database()` function enables you to remove a defined data source connection from MindsDB.

## Syntax

Use the `drop_database()` method to remove a database:

```bash
server.drop_database('mysql_demo_db')
```
